package com.ruoyi.mixuebingcheng.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.mixuebingcheng.domain.Category;
import com.ruoyi.mixuebingcheng.domain.Good;
import com.ruoyi.mixuebingcheng.domain.vo.CategoryVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.mixuebingcheng.domain.vo.GoodVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜品及套餐分类Mapper接口
 *
 * @author ruoyi
 * @date 2023-12-01
 */
public interface CategoryMapper extends BaseMapperPlus<CategoryMapper, Category, CategoryVo> {
    Page<CategoryVo> getListWithGood(@Param("page") Page<Category> page,@Param("ew") Wrapper<Category> wrapper);
}
